-- GENERATED SPELL FOR [Healthy Mushroom] --


function spell0_30391(pUnit, Event) --@Potent Fungus,n/a--
pUnit:FullCastSpellOnTarget(56648,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30391', 625, 1)
end

function Sorts_30391(pUnit, Event)
local choix_sorts_30391 = math.random(0, 0)
if choix_sorts_30391 == 0 then
pUnit:RegisterEvent('spell0_30391', 1, 1)
end
end

function mob30391_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30391', math.random(1500, 3000), 1)
end

function mob30391_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30391_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30391_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30391, 1, 'mob30391_Action')
RegisterUnitEvent(30391, 2, 'mob30391_Leave')
RegisterUnitEvent(30391, 3, 'mob30391_Kill')
RegisterUnitEvent(30391, 4, 'mob30391_Die')
